package com.treasure.web.service;

import com.treasure.common.types.Corp;
import com.treasure.infrastructure.model.po.CorpAccessToken;
import com.baomidou.mybatisplus.extension.service.IService;
import com.treasure.web.command.response.CorpAccountTokenResponse;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author sunhongmin
 * @since 2023-11-11
 */
public interface ICorpAccessTokenService extends IService<CorpAccessToken> {

    /**
     * 获取企业accountToken 用于授权活动
     *
     * @param corp
     * @return
     */
    CorpAccountTokenResponse getCorpAccountTokenInfo(Corp corp);
}
